<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.0/dist/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
</head>
<body>
<div class="container">
    <form action="infodo" method="post" enctype="multipart/form-data">
        {{csrf_field()}}
        <input type="hidden" name="id" value="{{$data['id']}}">
        <div class="form-group">
            <label for="exampleInputEmail1">用户名</label>
            <input type="text" class="form-control" name="username" value="{{$data['username']}}">
        </div>
        <div class="form-group">
            <label for="exampleInputPassword1">密码</label>
            <input type="password" class="form-control" name="password" value="{{$data['password']}}">
        </div>
        <div class="form-group">
            <label for="exampleInputPassword1">头像</label>
            <input type="file" class="form-control" name="file">
        </div>
        <div class="form-group">
            <label for="exampleInputPassword1">手机号</label>
            <input type="tel" class="form-control" name="tel">
        </div>
        <button type="submit" class="btn btn-primary">提交完善信息</button>
    </form>
</div>
</body>
</html>